<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>清除浮动</title>
    <style>
.img{
    float: left;
}
a{
    display: block;
    clear: left;
}
    </style>
</head>
<body>
    文字文字文字文字
    <img src="img/purplestar.png" class="img" alt="">
    <a href="">more</a>
</body>
</html>